package top.infopub.mgr.ic.service;

import java.util.List;

import com.github.pagehelper.Page;

import top.infopub.mgr.ic.domain.ReworkExamDomain;
import top.infopub.mgr.ic.vo.ReworkExamVo;
import top.infopub.model.ic.ReworkExam;
import top.infopub.model.ic.ReworkExamAtt;
import top.infopub.generic.GenericService;

public interface ReworkExamService extends GenericService<ReworkExam, String> {
 
    /**
     * 根据条件查询复工审批分页数据
     * @param reworkExamVo
     * @return
     * @see
     */
    Page<ReworkExamDomain> selectByDomainWhere(Page<ReworkExamDomain> page,ReworkExamVo reworkExamVo);

    /**
     * 根据条件查询-我审批的复工审批分页数据
     * @param reworkExamVo
     * @return
     * @see
     */
    Page<ReworkExamDomain> selectMyCheckByDomainWhere(Page<ReworkExamDomain> page,ReworkExamVo reworkExamVo);

    /**
     * 新增
     */
    void saveReworkExam(ReworkExam reworkExam,List<ReworkExamAtt> reworkExamAtts);

    /**
     * 详情
     */
    ReworkExamVo queryById(String id);
    
}